package com.dd.logistics.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dd.logistics.entity.OutboundOrder;

import java.util.List;

public interface OutboundOrderService extends IService<OutboundOrder> {
    // 创建出库单
    boolean createOutboundOrder(OutboundOrder outboundOrder);
    
    // 确认拣货
    boolean confirmPicking(String orderNumber);
    
    // 确认出库
    boolean confirmOutbound(String orderNumber);
    
    // 获取出库单列表
    List<OutboundOrder> getOutboundOrderList();
    
    // 分页查询
    Page<OutboundOrder> getOutboundOrderPage(Integer current, Integer size);
    
    // 根据订单号获取出库单
    OutboundOrder getByOrderNumber(String orderNumber);
} 